ALTER RULE
ALTER RULE — Change the Definition of a Rule
Synopsis
ALTER RULE name ON table_name RENAME TO new_name
Description
ALTER RULE changes the definition of an existing rule. Currently, the only available action is to change the rule's name. To use ALTER RULE, you must own the table or view that the rule applies to.
Parameters
name
The name of an existing rule to modify.
table_name
The name (optionally schema-qualified) of the table or view that the rule applies to.
new_name
The new name of the rule.
Examples
# To rename an existing rule:
ALTER RULE notify_all ON emp RENAME TO notify_me;